package com.ganbo.demo.config;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

/**
 * @author ganbo
 * @date 2022/10/19 10:59
 */

@Component
@ConfigurationProperties(prefix = "person")
@Data
public class AddressConfig {

    private String[] address;
    private String name;
}
